import request from '@/utils/request'

let SystemApi = {
    /*图库列表*/
    PictureList(data, errorback) {
        return request._post('/admin/image/bank/index', data, errorback);
    },
    /*新增*/
    AddPicture(data, errorback) {
        return request._postBody('/admin/image/bank/add', data, errorback);
    },
    /*编辑*/
    EditPicture(data, errorback) {
        return request._postBody('/admin/image/bank/edit', data, errorback);
    },
    /*删除*/
    DeletePicture(data, errorback) {
        return request._post('/admin/image/bank/delete', data, errorback);
    },
}

export default SystemApi;
